Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / SelfReferenceEquivalencyOptions<TSelf> Class / Using Method / Using<TProperty>(Action<IAssertionContext<TProperty>>) Method
The assertion to execute when the predicate is met.
In This Topic
    Using<TProperty>(Action<IAssertionContext<TProperty>>) Method
    In This Topic
    Overrides the comparison of subject and expectation to use provided action when the predicate is met.
    Syntax

    Parameters

    action
    The assertion to execute when the predicate is met.

    Type Parameters

    TProperty
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also